swfupload["icourlswf"].onselect = function (key, data) {
    $("#icourlwrap").html('<li id="' + this.name + key + '"><div class="swfuploadimg"><div><img src="/img/white.gif" /></div></div><h2>等待上传<div></div></h2></li>');
}
swfupload["icourlswf"]["querystring"] = {"cutwidth": 300, "ext": ""}
swfupload["icourlswf"].onsucceed = function (key, data) {
    data = data.toJson();
    if (data["succeed"])
    {
        $("#url").val(data["url"]);
    }
}

swfupload['slideswf'].onselect = (function (key, data) {
    $("#slidewrap").append('<li id="' + this.name + key + '"><div class="swfuploadimg"><div><img src="/img/white.gif" /></div></div><h2>等待上传<div></div></h2></li>');
});
swfupload["slideswf"]["querystring"] = {"cutwidth": 300, "ext": "300"}
swfupload["slideswf"].onsucceed = function (key, data) {
    data = data.toJson();
    if (data["succeed"])
    {
        $("#" + this.name + key).val(data["id"]);
    }
}